package com.itheima.mapper;

import com.itheima.pojo.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserRoleMapper {
    @Select("SELECT *from health_chuanzhi.t_role")
    List<Role> findByUserId(Integer id);
}
